package com.kaifamiao.jdbc.d0908.entity;

import java.time.LocalDateTime;
import java.util.Date;

public class Users {

    private int id;

    private String username;

    private String password;

    private LocalDateTime createDate;

    private int gender;

    public void setId(int id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getId() {
        return id;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }


    public int getGender() {
        return gender;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", createDate=" + createDate +
                ", gender=" + gender +
                '}';
    }
}
